package com.qing.eduservice.service;

import com.qing.eduservice.entity.pojo.EduVideo;
import com.baomidou.mybatisplus.extension.service.IService;
import com.qing.eduservice.entity.vo.VideoInfoVo;
import com.qing.servicebase.utils.ResponseResult;

/**
 * <p>
 * 课程视频 服务类
 * </p>
 *
 * @author Yjx
 * @since 2022-09-08
 */
public interface EduVideoService extends IService<EduVideo> {

    ResponseResult getCountByChapterId(String chapterId);

    ResponseResult saveVideoInfo(VideoInfoVo videoInfoVo);

    ResponseResult getVideoInfoFormById(String id);

    ResponseResult updateVideoInfoById(VideoInfoVo videoInfoVo);

    ResponseResult removeVideoById(String id);

    ResponseResult removeByCourseId(String courseId);
}
